import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

public class TaskScheduler {

    private static final ExecutorService executor = Executors.newCachedThreadPool();

    public static void scheduleGpioTask(Runnable task) {
        executor.submit(task);
    }

    public static void shutdown() {
        executor.shutdown();
    }

}
